package com.itheima.mapper;

import com.itheima.pojo.dto.shoppingCartDto.ShoppingCartAddDto;
import com.itheima.pojo.dto.shoppingCartDto.ShoppingCartUpdateDto;
import com.itheima.pojo.vo.shoppingCartVo.GetShoppingCartVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ShoppingCartMapper {
    int add(ShoppingCartAddDto shoppingCart);

    int clean();
    int update(ShoppingCartUpdateDto shoppingCart);
    int deleteSetmealId(String setmealId);
    int deleteDishId(String dishId);
    List<GetShoppingCartVo> selectAll();
}
